package com.lzy.properties;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * token配置类
 *
 * @author lzy by 2019/9/16 17:06
 */
@Slf4j
@Data
@EqualsAndHashCode
@ConfigurationProperties(prefix = "cn.lzy.sdk.com.interceptor.token")
public class TokenProperties {

    /**
     * com.lzy.interceptor.token 加密key
     */
    private String secret = "lzy";
    /**
     * accessToken有效时间 (秒)
     */
    private Long accessTokenExpireTime;


}
